package com.example.entity.buyer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Description:
 * @Author: aimi
 * @Create: 2024-05-22
 **/
@Data
public class UserCollect {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Long spuId;
    private Long storeId;
    //类型 1：收藏商品 2：收藏店铺
    private Integer type;
    private LocalDateTime createTime;
    private String createBy;
    private String updateBy;
}